@charset "UTF-8";
@import "../config";
//按钮基础类
%button {
  display: inline-block;
  margin-bottom: 0; // For input.btn
  font-family: font(family);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  outline: 0;
  border-radius: 3px;
  transition: .3s ease-in;
  &:hover,
  &:focus {
    text-decoration: none;
    opacity: .9;
  }
  &:active,
  &#{$ns}active {
    box-shadow: inset 0 5px 5px rgba(0, 0, 0, .05);
  }
  &#{$ns}disabled,
  &[disabled],
  fieldset[disabled] & {
    cursor: not-allowed;
    pointer-events: none; // Future-proof disabling of clicks
    opacity: .65;
    box-shadow: none;
  }
}
